<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SWM34S_LVGL7.11_SWMUI: C:/Users/DELL/Desktop/Commit/lvgl/SWM34S_LVGL7.11_SWMUI_20230515/APP/BSP/dev_io_spi.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SWM34S_LVGL7.11_SWMUI<span id="projectnumber">&#160;V7.9</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.5 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_0ca16891106f5a3e9ad635a0d6c5f98f.html">APP</a></li><li class="navelem"><a class="el" href="dir_4ca18d753a70f6eada20fde478bd3fc8.html">BSP</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">dev_io_spi.h</div></div>
</div><!--header-->
<div class="contents">
<a href="dev__io__spi_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span><span class="preprocessor">#ifndef __DEV_IO_SPI_H__</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span><span class="preprocessor">#define __DEV_IO_SPI_H__</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span> </div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span><span class="preprocessor">#include &quot;stdint.h&quot;</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span> </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span><span class="keywordtype">void</span> <a class="code hl_function" href="dev__io__spi_8h.html#a16d2dfe6a5c03f49b9584239472f5c41">IO_SPI_CS_LOW</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span> </div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span><span class="keywordtype">void</span> <a class="code hl_function" href="dev__io__spi_8h.html#a97e76f9e7d5b3673003b3062b0982abb">IO_SPI_CS_HIGH</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span> </div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span><span class="keywordtype">void</span> <a class="code hl_function" href="dev__io__spi_8h.html#ae5dc9bbf8a794391f1183411c047dfa2">io_spi_init</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span> </div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span>uint32_t <a class="code hl_function" href="dev__io__spi_8h.html#adb59768338d754f15de5d09e175fb3b8">io_spi_readwrite</a>(uint32_t data, uint32_t bit_len);</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span> </div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span><span class="keywordtype">void</span> <a class="code hl_function" href="dev__io__spi_8h.html#acbe161ab6562f9da568695c02f71d18e">io_qspi_write</a>(uint32_t data, uint32_t bit_len);</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno">   58</span> </div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span>uint32_t <a class="code hl_function" href="dev__io__spi_8h.html#a4b9736b990d7b5ce371509d7edd35a70">io_qspi_read</a>(uint32_t bit_len);</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno">   65</span> </div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span><span class="preprocessor">#endif </span><span class="comment">// __DEV_IO_SPI_H__</span></div>
<div class="ttc" id="adev__io__spi_8h_html_a16d2dfe6a5c03f49b9584239472f5c41"><div class="ttname"><a href="dev__io__spi_8h.html#a16d2dfe6a5c03f49b9584239472f5c41">IO_SPI_CS_LOW</a></div><div class="ttdeci">void IO_SPI_CS_LOW(void)</div><div class="ttdoc">IO 模拟 SPI 通讯的 CS 拉低</div><div class="ttdef"><b>Definition:</b> <a href="dev__io__spi_8c_source.html#l00136">dev_io_spi.c:136</a></div></div>
<div class="ttc" id="adev__io__spi_8h_html_a4b9736b990d7b5ce371509d7edd35a70"><div class="ttname"><a href="dev__io__spi_8h.html#a4b9736b990d7b5ce371509d7edd35a70">io_qspi_read</a></div><div class="ttdeci">uint32_t io_qspi_read(uint32_t bit_len)</div><div class="ttdoc">IO 模拟 QSPI 通讯读</div><div class="ttdef"><b>Definition:</b> <a href="dev__io__spi_8c_source.html#l00285">dev_io_spi.c:285</a></div></div>
<div class="ttc" id="adev__io__spi_8h_html_a97e76f9e7d5b3673003b3062b0982abb"><div class="ttname"><a href="dev__io__spi_8h.html#a97e76f9e7d5b3673003b3062b0982abb">IO_SPI_CS_HIGH</a></div><div class="ttdeci">void IO_SPI_CS_HIGH(void)</div><div class="ttdoc">IO 模拟 SPI 通讯的 CS 拉高</div><div class="ttdef"><b>Definition:</b> <a href="dev__io__spi_8c_source.html#l00144">dev_io_spi.c:144</a></div></div>
<div class="ttc" id="adev__io__spi_8h_html_acbe161ab6562f9da568695c02f71d18e"><div class="ttname"><a href="dev__io__spi_8h.html#acbe161ab6562f9da568695c02f71d18e">io_qspi_write</a></div><div class="ttdeci">void io_qspi_write(uint32_t data, uint32_t bit_len)</div><div class="ttdoc">IO 模拟 QSPI 通讯写</div><div class="ttdef"><b>Definition:</b> <a href="dev__io__spi_8c_source.html#l00228">dev_io_spi.c:228</a></div></div>
<div class="ttc" id="adev__io__spi_8h_html_adb59768338d754f15de5d09e175fb3b8"><div class="ttname"><a href="dev__io__spi_8h.html#adb59768338d754f15de5d09e175fb3b8">io_spi_readwrite</a></div><div class="ttdeci">uint32_t io_spi_readwrite(uint32_t data, uint32_t bit_len)</div><div class="ttdoc">IO 模拟标准 SPI 通讯读写</div><div class="ttdef"><b>Definition:</b> <a href="dev__io__spi_8c_source.html#l00178">dev_io_spi.c:178</a></div></div>
<div class="ttc" id="adev__io__spi_8h_html_ae5dc9bbf8a794391f1183411c047dfa2"><div class="ttname"><a href="dev__io__spi_8h.html#ae5dc9bbf8a794391f1183411c047dfa2">io_spi_init</a></div><div class="ttdeci">void io_spi_init(void)</div><div class="ttdoc">IO 模拟 SPI 通讯端口初始化</div><div class="ttdef"><b>Definition:</b> <a href="dev__io__spi_8c_source.html#l00152">dev_io_spi.c:152</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>
